package com.triones.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 用户邮箱变更记录
 */
@TableName(value = "tr_email_change_record")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class EmailChangeRecordDO {

    @TableId(value = "id")
    private Long id;
    /**
     * 用户id
     */
    private Long uid;
    /**
     * 更换前邮箱
     */
    private String beforeReplacement;
    /**
     * 更换后邮箱
     */
    private String afterReplacement;
    /**
     * 创建时间
     */
    private String createTime;
}
